package cn.qingyun.gis.modules.baogan.vo.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author LHJ
 * @description
 * @date 2024/11/13 9:36
 */
@Data
public class DataQueryRequest {
    @NotEmpty(message = "区划编码不能为空")
    private String code;

    @NotNull(message = "右上角经度不能为空")
    @ApiModelProperty(value = "右上角点 经度")
    private BigDecimal rtLon;

    @NotNull(message = "右上角点纬度不能为空")
    @ApiModelProperty(value = "右上角点 纬度")
    private BigDecimal rtLat;

    @NotNull(message = "左下角点经度不能为空")
    @ApiModelProperty(value = "左下角点 经度")
    private BigDecimal lbLon;

    @NotNull(message = "左下角点纬度不能为空")
    @ApiModelProperty(value = "左下角点 纬度")
    private BigDecimal lbLat;

    @NotNull(message = "场景类型不能为空！")
    private List<String> types;
}
